﻿using Abp.AutoMapper;
using AVIS.OutBound.Orders;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace AVIS.OutBound.BookOrders.Dto
{
    /// <summary>
    /// 选择车组预订的请求参数，在线预订流程的第三步
    /// </summary>
    [AutoMapTo(typeof(BookOrder))]
    public class SubmitCarGroupInput
    {
        /// <summary>
        /// 预订单的订单ID
        /// </summary>
        [Required]
        public string OrderId { get; set; }

        /// <summary>
        /// 套餐价格代码
        /// </summary>
        [Required]
        public string RateCode { get; set; }

        /// <summary>
        /// 预定车组唯一码
        /// </summary>
        [Required]
        public string SIPPCode { get; set; }

        /// <summary>
        /// 订单总金额（判断价格是否发生变化）
        /// </summary>
        [Required]
        public double Amount { get; set; }
    }
}
